import ArcoVue from '@arco-design/web-vue';
import { createApp } from 'vue'
import App from './App.vue'
import '@arco-design/web-vue/dist/arco.css';
import { createMemoryHistory, createRouter } from "vue-router";

import WordSelector from './components/WordSelector.vue';
import OutWord from './components/OutWord.vue';

const routes = [
  { path: "/", component: WordSelector },
  { path: "/print", component: OutWord },
];

const router = createRouter({
  history: createMemoryHistory(),
  routes,
});

const app = createApp(App);
app.use(router)
app.use(ArcoVue);
app.mount('#app');
